/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ftp;

import java.util.List;

/**
 *
 * @author gilmario
 */
public class FtpLista implements Runnable{

    private FtpFunction ftp;
    private List<String> lista;
    
    public FtpLista(FtpFunction ftp, List<String> lista){
        this.ftp = ftp;
    }
    
    public void run() {
       lista = ftp.listaArquivos();
    }
}
